/*
 * @Author: TANGB02 13233582+Ace-Tang@user.noreply.gitee.com
 * @Date: 2024-03-08 16:09:46
 * @LastEditors: TANGB02 13233582+Ace-Tang@user.noreply.gitee.com
 * @LastEditTime: 2024-03-08 16:10:07
 * @FilePath: \online-learning-system\src\components\service\api.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { http } from "@/utils/request.js";
const api = {
  login: "/user/login",
};
export const login = (data = {}) => {
  return http({
    url: api.login,
    method: "post",
    data,
  });
};
